package com.hualan.sfzy.service;

import com.hualan.sfzy.entity.UserOrder;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface UserOrderService extends BaseService<UserOrder> {
    @Override
    int add(UserOrder entity);

    @Override
    int edit(UserOrder entity);

    @Override
    int remove(Integer id);

    @Override
    int removeBatch(Integer[] ids);

    @Override
    List<UserOrder> find();

    @Override
    Map<String, Object> findPage(Integer pageNum, Integer pageSize, UserOrder entity);

    @Override
    UserOrder findById(Integer id);

    List<UserOrder> findUserOrderAndCounselorById(Integer id);
}
